package pub.tbc.api.service.mapping;

import io.netty.handler.codec.http.FullHttpRequest;
import lombok.extern.slf4j.Slf4j;
import pub.tbc.api.service.ServiceObject;

/**
 * @author tbc on 2017/3/18.
 */
@Slf4j
public class DefaultServiceMapping implements ServiceMapping {
    @Override
    public ServiceObject mapService(FullHttpRequest request) {
        return null;
    }

    /**
     * 通过路由表查找服务
     *
     * @param request http请求对象
     * @return 服务对象
     */
    private ServiceObject routerTableMapping(FullHttpRequest request) {

        return null;
    }

    /**
     * 通过URI匹配服务对象
     *
     * @param request http请求对象
     * @return 服务对象
     */
    private ServiceObject uriMapping(FullHttpRequest request) {

        return null;
    }
}
